package com.myjob.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author chenyuan
 * @date 2021/3/17 22:12
 */
@Controller
@RequestMapping("/oa/error")
public class ErrorController {
    @GetMapping("/401")
    public String error_401(){
        return "/error/401";
    }

    @GetMapping("/403")
    public String error_403(){
        return "/error/403";
    }

    @GetMapping("/404")
    public String error_404(){
        return "/error/404";
    }

    @GetMapping("/500")
    public String error_500(){
        return "/error/500";
    }
}
